import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:verse_systems/res/colors.dart';
import 'package:verse_systems/utils/image_utils.dart';

class OrderEmpty extends StatelessWidget {
  final String empty;
  const OrderEmpty({super.key, required this.empty});

  @override
  Widget build(BuildContext context) {
    return Container(
        color: Colours.app_main_color,
        height: 500.w,
        width: MediaQuery.of(context).size.width,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Image.asset(
              ImageUtils.getImgPath("order_empty"),
              fit: BoxFit.fill,
              width: 171.w,
              height: 128.w,
            ),
            Text(
              empty == "" ?"no_order".tr:empty,
              textAlign: TextAlign.center,
              style: TextStyle(
                color: Colours.calendar_open_text_color,
                fontSize: 14.sp,
              ),
            ),
          ],
        ));
  }


}